package lac.serviceuint.register;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class RegistryServiceMethod implements Serializable{

	
	/**
	 * 
	 */
	private static final long serialVersionUID = 920571714288462934L;
	
	private String serviceId;
	
	private String serviceUnitName;
	
	private String methodName;
	
	private String desc;
	
	private String uri;
	
	private List<RegistryHost> registryHosts = new ArrayList<>();
	
	private List<RegistryClient> registryClients = new ArrayList<>();
	
	public RegistryServiceMethod() {
		// TODO Auto-generated constructor stub
	}
	
	
	public RegistryServiceMethod(String serviceId, String serviceUnitName, String methodName) {
		super();
		this.serviceId = serviceId;
		this.serviceUnitName = serviceUnitName;
		this.methodName = methodName;
	}


	public String getServiceId() {
		return serviceId;
	}


	public String getServiceUnitName() {
		return serviceUnitName;
	}


	public String getMethodName() {
		return methodName;
	}


	public String getDesc() {
		return desc;
	}


	public String getUri() {
		return uri;
	}


	public List<RegistryHost> getRegistryHosts() {
		return registryHosts;
	}


	public void setServiceId(String serviceId) {
		this.serviceId = serviceId;
	}


	public void setServiceUnitName(String serviceUnitName) {
		this.serviceUnitName = serviceUnitName;
	}


	public void setMethodName(String methodName) {
		this.methodName = methodName;
	}


	public void setDesc(String desc) {
		this.desc = desc;
	}


	public void setUri(String uri) {
		this.uri = uri;
	}


	public void setRegistryHosts(List<RegistryHost> registryHosts) {
		this.registryHosts = registryHosts;
	}


	public List<RegistryClient> getRegistryClients() {
		return registryClients;
	}


	public void setRegistryClients(List<RegistryClient> registryClients) {
		this.registryClients = registryClients;
	}
	
	
}
